﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NimLearning
{
    public class AIPlayer : Player
    {
        private static Random r = new Random();
        public GameState GetMove(GameState state)
        {
            Console.WriteLine("AI Turn");
            List<GameState> moves = state.GetPossibleOutcomes();

            return moves[r.Next(moves.Count)];
        }
    }
}
